<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
  <link href="/css/common.css" rel="stylesheet" type="text/css" />
  <link href="/css/style.css" rel="stylesheet" type="text/css" />
  <script src="/js/WebCalendar.js" type="text/javascript"></script>
</head>

<body>
<form action="/updateAuction" enctype="multipart/form-data" method="post">
  <input type="hidden"  name="auctionid" class="inputh lf" th:value="${updateAuction.getAuctionid()}" />
<div class="wrap">
  <!-- main begin-->
  <div class="sale">
    <h1 class="lf">在线拍卖系统</h1>
    <div class="logout right"><a href="/logout" title="注销">注销</a></div>
  </div>
      <div class="login logns produce">
        <h1 class="blues">拍卖品信息</h1>
          <dl>
            <dd >
              <label>名称：</label>
              <input name="auctionname" readonly="readonly" type="text" class="inputh lf" th:value="${updateAuction.getAuctionname()}" />
              <div class="xzkbg spbg lf"></div>
            </dd>
            <dd>
              <label>起拍价：</label>
              <input name="auctionstartprice" type="text" class="inputh lf" th:value="${updateAuction.getAuctionstartprice()}" />
              <div class="lf red laba">必须为数字</div>
            </dd>
            <dd>
              <label>底价：</label>
              <input name="auctionupset" type="text" class="inputh lf" th:value="${updateAuction.getAuctionupset()}" />
              <div class="lf red laba">必须为数字</div>
            </dd>


            <dd>
              <label>开始时间：</label>
              <input name="auctionstarttime" type="text" class="inputh lf"
                     readonly="readonly" onclick="selectDate(this,'yyyy-MM-dd hh:mm:ss')"
                     th:value="${#dates.format(updateAuction.getAuctionstarttime(),'yyyy-MM-dd hh:mm:ss')}" />
              <div class="lf red laba">格式：2011-05-05 12:30:00</div>
            </dd>


            <dd>
              <label>结束时间：</label>
              <input name="auctionendtime" type="text" class="inputh lf"
                     readonly="readonly" onclick="selectDate(this,'yyyy-MM-dd hh:mm:ss')"
                     th:value="${#dates.format(updateAuction.getAuctionendtime(),'yyyy-MM-dd hh:mm:ss')}" />
              <div class="lf red laba">格式：2011-05-05 12:30:00</div>
            </dd>
            <dd class="dds">
              <label>描述：</label>
              <textarea name="auctiondesc" cols="" rows="" class="textarea" th:text="${updateAuction.getAuctiondesc()}"></textarea>
            </dd>
            <dd>
              <label>修改图片：</label>
              <div class="lf salebd"><a href="#"><img th:src="${updateAuction.getAuctionpic()}" width="100" height="100" /></a></div>
               <input name="pic" type="file" class="marg10" />
            </dd>
            <dd class="hegas">
                <input name="" type="submit" value="保 存" class="spbg buttombg buttombgs f14 lf buttomb" />
                <input name="" onclick="location='/queryAllAuctions'"  value="取 消" class="spbg buttombg buttombgs f14 lf buttomb" />
                
            </dd>
          </dl>
    </div>
<!-- main end-->
<!-- footer begin-->

</div>
 <!--footer end-->
 
</div>

</form>
</body>
</html>
